package com.bblocks.common.anti_reptile.module;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>Project: bb-anti-reptile - RuleVOStat</p>
 * <p>描述：url访问频率（综合结算得来）</p>
 *
 * @Author Zhao [125043150@qq.com]
 * @Date 2024/3/25 10:53
 * @Version 1.0
 * @since 8
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class RuleStatVO implements Serializable {

    /**
     * id
     */
    private Long id;

    /**
     * 数据日
     */
    private LocalDate day;

    /**
     * 规则规则地址
     */
    private String url;

    /**
     * 用户平均qps
     */
    private Integer rateAvgUser;

    /**
     * 用户最大qps
     */
    private Integer rateMaxUser;

    /**
     * ip平均qps/用户
     */
    private Integer rateAvgIp;

    /**
     * ip最大qps/用户
     */
    private Integer rateMaxIp;
}
